package com.lzw.breezeNovel.webApp.mapper.novel;

import com.lzw.breezeNovel.model.entity.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.webApp.mapper
 * @date 2025/3/2
 * @description 分类mapper
 */
@Mapper
@SuppressWarnings("all")
public interface CategoryMapper {

    /**
     * 根据分类类型获取分类
     * @param type
     * @return
     */
    List<Category> getCategoryByType(Integer type);
}
